package com.gmtx.syb.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/11/8.
 */

public class HomePagePropBean {

    /**
     * code : 1
     * message : 正常返回
     * result : [{"shangpinhui_title":"商品惠","shangpinhui_ico":"http://static.spygmall.com/image/home_page/sph_ico.png","juhuishijian_str":"限时积分最高翻10倍","juhuishijian_pic":"http://static.spygmall.com/image/home_page/jhsj_pic.png","begin_date":"2016-11-09","pinpaihui_title":"品牌惠","juhuishijian_ico":"http://static.spygmall.com/image/home_page/jhsj_ico.png","shangpinhui_str":"每日甄选千款好货","pinpaihui_ico":"http://static.spygmall.com/image/home_page/jhsj_ico.png","shangpinhui_pic":"http://static.spygmall.com/image/home_page/sph_pic.png","pinpaihui_str":"品牌惠惠惠惠","pinpaihui_pic":"http://static.spygmall.com/image/home_page/pph_pic.png"}]
     * time : 1478587286462
     */

    private String code;
    private String message;
    private String time;

    /**
     * shangpinhui_title : 商品惠
     * shangpinhui_ico : http://static.spygmall.com/image/home_page/sph_ico.png
     * juhuishijian_str : 限时积分最高翻10倍
     * juhuishijian_pic : http://static.spygmall.com/image/home_page/jhsj_pic.png
     * begin_date : 2016-11-09
     * pinpaihui_title : 品牌惠
     * juhuishijian_ico : http://static.spygmall.com/image/home_page/jhsj_ico.png
     * shangpinhui_str : 每日甄选千款好货
     * pinpaihui_ico : http://static.spygmall.com/image/home_page/jhsj_ico.png
     * shangpinhui_pic : http://static.spygmall.com/image/home_page/sph_pic.png
     * pinpaihui_str : 品牌惠惠惠惠
     * pinpaihui_pic : http://static.spygmall.com/image/home_page/pph_pic.png
     */

    private List<ResultBean> result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        private String shangpinhui_title;
        private String shangpinhui_ico;
        private String juhuishijian_str;
        private String juhuishijian_pic;
        private String begin_date;
        private String end_date;
        private String pinpaihui_title;
        private String juhuishijian_ico;
        private String shangpinhui_str;
        private String pinpaihui_ico;
        private String shangpinhui_pic;
        private String pinpaihui_str;
        private String pinpaihui_pic;
        private String title;
        private long time;

        public String getEnd_date() {
            return end_date;
        }

        public void setEnd_date(String end_date) {
            this.end_date = end_date;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public void goTime(){
            this.time --;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getShangpinhui_title() {
            return shangpinhui_title;
        }

        public void setShangpinhui_title(String shangpinhui_title) {
            this.shangpinhui_title = shangpinhui_title;
        }

        public String getShangpinhui_ico() {
            return shangpinhui_ico;
        }

        public void setShangpinhui_ico(String shangpinhui_ico) {
            this.shangpinhui_ico = shangpinhui_ico;
        }

        public String getJuhuishijian_str() {
            return juhuishijian_str;
        }

        public void setJuhuishijian_str(String juhuishijian_str) {
            this.juhuishijian_str = juhuishijian_str;
        }

        public String getJuhuishijian_pic() {
            return juhuishijian_pic;
        }

        public void setJuhuishijian_pic(String juhuishijian_pic) {
            this.juhuishijian_pic = juhuishijian_pic;
        }

        public String getBegin_date() {
            return begin_date;
        }

        public void setBegin_date(String begin_date) {
            this.begin_date = begin_date;
        }

        public String getPinpaihui_title() {
            return pinpaihui_title;
        }

        public void setPinpaihui_title(String pinpaihui_title) {
            this.pinpaihui_title = pinpaihui_title;
        }

        public String getJuhuishijian_ico() {
            return juhuishijian_ico;
        }

        public void setJuhuishijian_ico(String juhuishijian_ico) {
            this.juhuishijian_ico = juhuishijian_ico;
        }

        public String getShangpinhui_str() {
            return shangpinhui_str;
        }

        public void setShangpinhui_str(String shangpinhui_str) {
            this.shangpinhui_str = shangpinhui_str;
        }

        public String getPinpaihui_ico() {
            return pinpaihui_ico;
        }

        public void setPinpaihui_ico(String pinpaihui_ico) {
            this.pinpaihui_ico = pinpaihui_ico;
        }

        public String getShangpinhui_pic() {
            return shangpinhui_pic;
        }

        public void setShangpinhui_pic(String shangpinhui_pic) {
            this.shangpinhui_pic = shangpinhui_pic;
        }

        public String getPinpaihui_str() {
            return pinpaihui_str;
        }

        public void setPinpaihui_str(String pinpaihui_str) {
            this.pinpaihui_str = pinpaihui_str;
        }

        public String getPinpaihui_pic() {
            return pinpaihui_pic;
        }

        public void setPinpaihui_pic(String pinpaihui_pic) {
            this.pinpaihui_pic = pinpaihui_pic;
        }
    }
}
